package com.xuexiang.yoyo.entity;

import java.io.Serializable;
import java.util.List;

public class LrDataItem implements Serializable {

    private static final long serialVersionUID = -2255721379555474854L;
    private Integer id;

    /**
     * 设备类别
     */
    private String category;

    /**
     * 设备类型
     */
    private String type;

    /**
     * 数据项名称
     */
    private String name;

    /**
     * LN
     */
    private String ln;

    /**
     * 简称
     */
    private String shortName;

    /**
     * 排序索引
     */
    private Integer sortIndex;
    private String gxdlmsClassName;

    /**
     * data_item中的attribute_index多个用逗号隔开
     */
    private String attributeIndexs;
    private String username;

    private Integer attrbuteIndex;

    private String cosemClassId;

    private String fcatTag;

    private String obisDefine;

    public String getfcatTag() {
        return fcatTag;
    }

    public void setfcatTag(String fcatTag) {
        this.fcatTag = fcatTag;
    }

    public String getObisDefine() {
        return obisDefine;
    }

    public void setObisDefine(String obisDefine) {
        this.obisDefine = obisDefine;
    }

    public String getCosemClassId() {
        return cosemClassId;
    }

    public void setCosemClassId(String cosemClassId) {
        this.cosemClassId = cosemClassId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getAttrbuteIndex() {
        return attrbuteIndex;
    }

    public void setAttrbuteIndex(Integer attrbuteIndex) {
        this.attrbuteIndex = attrbuteIndex;
    }

    private List<Integer> attrbuteIndexList;

    public String getGxdlmsClassName() {
        return gxdlmsClassName;
    }

    public void setGxdlmsClassName(String gxdlmsClassName) {
        this.gxdlmsClassName = gxdlmsClassName;
    }

    public String getAttributeIndexs() {
        return attributeIndexs;
    }

    public void setAttributeIndexs(String attributeIndexs) {
        this.attributeIndexs = attributeIndexs;
    }

    public List<Integer> getAttrbuteIndexList() {
        return attrbuteIndexList;
    }

    public void setAttrbuteIndexList(List<Integer> attrbuteIndexList) {
        this.attrbuteIndexList = attrbuteIndexList;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    //    private Date createTime;
//
//    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLn() {
        return ln;
    }

    public void setLn(String ln) {
        this.ln = ln;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public Integer getSortIndex() {
        return sortIndex;
    }

    public void setSortIndex(Integer sortIndex) {
        this.sortIndex = sortIndex;
    }



    //    public Date getCreateTime() {
//        return createTime;
//    }
//
//    public void setCreateTime(Date createTime) {
//        this.createTime = createTime;
//    }
//
//    public Date getUpdateTime() {
//        return updateTime;
//    }
//
//    public void setUpdateTime(Date updateTime) {
//        this.updateTime = updateTime;
//    }


    @Override
    public String toString() {
        return "LrDataItem{" +
                "id=" + id +
                ", category='" + category + '\'' +
                ", type='" + type + '\'' +
                ", name='" + name + '\'' +
                ", ln='" + ln + '\'' +
                ", shortName='" + shortName + '\'' +
                ", sortIndex=" + sortIndex +
                ", gxdlmsClassName='" + gxdlmsClassName + '\'' +
                ", attributeIndexs='" + attributeIndexs + '\'' +
                ", username='" + username + '\'' +
                ", attrbuteIndex=" + attrbuteIndex +
                ", cosemClassId='" + cosemClassId + '\'' +
                ", attrbuteIndexList=" + attrbuteIndexList +
                '}';
    }
}
